package com.sword.service.stock;

import com.sword.page.PageResult;
import com.sword.page.QueryPageBean;
import com.sword.pojo.stock.EnterstockDetail;

import java.util.List;

public interface EnterStockDetailService {
    //分页查询单据
    PageResult queryEnterStockDetail(QueryPageBean queryPageBean);


    // 添加单据
    Integer addEnterStockDetail(EnterstockDetail enterStockDetail);

    // 编辑单据
    Integer editEnterStockDetail(EnterstockDetail enterStockDetail);

    // 审核单据
    Integer examineEnterStockDetail(EnterstockDetail enterStockDetail);

    //弃审单据
    Integer unexamineEnterStockDetail(EnterstockDetail enterStockDetail);

    // 删除单据
    Integer deleteEnterStockDetail(Integer id);

    //查询所有
    public List<EnterstockDetail> queryAll();
}
